package cn.xmy.demo01.pojo;

import java.io.Serial;
import java.io.Serializable;

public class Collection implements Serializable {
    @Serial
    private static final long serialVersionUID = 5980704949457537025L;
    private String uid;//关联的用户id
    private String  post_id;//帖子id

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getPost_id() {
        return post_id;
    }

    public void setPost_id(String post_id) {
        this.post_id = post_id;
    }

    public Collection(String uid, String post_id) {
        this.uid = uid;
        this.post_id = post_id;
    }

    public Collection() {
    }
}
